package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.UserVue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author 13430
 * @description 针对表【user(系统用户表，存储所有用户信息)】的数据库操作Mapper
 * @createDate 2024-09-11 15:01:02
 * @Entity com.hl.sfzy.entity.UserVue
 */
@Mapper
@Repository
public interface UserVueMapper {

    int insert(UserVue record);

    UserVue selectByPrimaryKey(Long id);

    int updateByPrimaryKey(UserVue record);

    //查询全部
    List selectAll();

    //新增用户
    int insertSelective(UserVue record);

    //删除用户
    int deleteByPrimaryKey(Long id);

    //修改用户
    int updateByPrimaryKeySelective(UserVue record);

    //根据用户名模糊查询
    List selectLikeUsername(String username);
}
